//
//  AboutVc.m
//  Wy_BuyBooks
//
//  Created by wangyang on 2020/2/7.
//  Copyright © 2020 wangyang. All rights reserved.
//

#import "AboutVc.h"

@interface AboutVc ()
@property (nonatomic,strong) UIImageView *Wyimage;

@end

@implementation AboutVc

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationItem.title = @"关于我们";
    
    self.view.backgroundColor = [UIColor whiteColor];
     self.navigationController.interactivePopGestureRecognizer.delegate = self;
    [self initSetUI];
}
-(void)initSetUI
{
    _Wyimage = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Group"]];
    [self.view addSubview:_Wyimage];
    _Wyimage.clipsToBounds = YES;
    _Wyimage.layer.cornerRadius = 15;
    [_Wyimage mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.equalTo(CGSizeMake(89, 89));
        make.top.equalTo(34);
        make.centerX.mas_offset(0);
    }];
    
    
    UILabel *lab = [UILabel labelWithContent:@"当前版本v1.0" superView:self.view textColor:[UIColor blackColor] font:[UIFont systemFontOfSize:17] textAlignment:NSTextAlignmentCenter];
    [lab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.equalTo(CGSizeMake(180, 24));
        make.top.equalTo(self.Wyimage.bottom).offset(3);
        make.centerX.mas_offset(0);
    }];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
